# $Id$
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Timm Preetz <timm@preetz.us>
# Contributor: rabyte <rabyte__gmail>
pkgname=schroedinger
pkgver=1.0.11
pkgrel=3
pkgdesc="An implemenation of the Dirac video codec in ANSI C code"
arch=('i686' 'x86_64')
url="https://launchpad.net/schroedinger"
license=('GPL2' 'LGPL2.1' 'MPL' 'MIT')
depends=('orc' 'gcc-libs')
source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
md5sums=('da6af08e564ca1157348fb8d92efc891')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr

  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  install -m644 -D COPYING.MIT "$pkgdir/usr/share/licenses/$pkgname/COPYING.MIT"
}
